package com.ruoyix.generator.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.ruoyix.common.annotation.ExcelDictFormat;
import com.ruoyix.common.convert.ExcelDictConvert;
import lombok.Data;
import java.util.Date;

import java.io.Serializable;

/**
 * 模块管理视图对象 gen_module
 *
 * @author ruoyi
 * @date 2023-11-08
 */
@Data
@ExcelIgnoreUnannotated
public class GenModuleVo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    @ExcelProperty(value = "主键ID")
    private Long id;

    /**
     * 模块编码
     */
    @ExcelProperty(value = "模块编码")
    private String moduleCode;

    /**
     * 模块名称
     */
    @ExcelProperty(value = "模块名称")
    private String moduleName;

    /**
     * 模块描述
     */
    @ExcelProperty(value = "模块描述")
    private String description;

    /**
     * 主类全名
     */
    @ExcelProperty(value = "主类全名")
    private String mainClassName;

    /**
     * 当前版本
     */
    @ExcelProperty(value = "当前版本")
    private String currentVersion;

    /**
     * 升级信息
     */
    @ExcelProperty(value = "升级信息")
    private String upgradeInfo;

    /**
     * 状态（0正常 1删除 2停用）
     */
    @ExcelProperty(value = "状态", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "0=正常,1=删除,2=停用")
    private String status;

    /**
     *
     */
    @ExcelProperty(value = "")
    private String modulePath;

    /**
     *
     */
    @ExcelProperty(value = "")
    private String moduleTemplate;

    /**
     * 备注信息
     */
    @ExcelProperty(value = "备注信息")
    private String remarks;


}
